package org.example.myleet.p719;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(0 == solution.smallestDistancePair(new int[]{1,3,1}, 1));
        Assert.isTrue(0 == solution.smallestDistancePair(new int[]{1,1,1}, 2));
        Assert.isTrue(5 == solution.smallestDistancePair(new int[]{1,6,1}, 3));
    }
}
